package com.example.game_level;


import org.andengine.entity.Entity;

import org.andengine.entity.sprite.Sprite;
import org.andengine.input.touch.TouchEvent;


//import android.util.Log;



public class Keyboard extends Entity{
	StartActivity activity;
	String str= new String();
	
	Keyboard(final GameScene scene, String str){
		activity = StartActivity.getSharedInstance();
	   
		
		//Row 1			
		 Spritebutton playButton1 = new Spritebutton(activity.mButtonRegion1, activity.hFont, ".", 0.4f, 0.4f, 0.4f,1){
            @Override
            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
            
            	return true;
		
	}
	
		};
		 playButton1.setPosition(2,497);
		    scene.registerTouchArea(playButton1);
		    scene.attachChild(playButton1);
		
		 Spritebutton playButton2 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0915"+str, 1, 1, 1,1){
            @Override
            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
              
            	switch(pSceneTouchEvent.getAction()){
            	
            	case TouchEvent.ACTION_DOWN:{
            		if(activity.level>2){
                        //		scene.unregisterTouchArea(this);
                        		scene.swarchakra(1);
                        	}
                        		
                        	else
                        	scene.on_click(1,pSceneTouchEvent);
            	
            	}break;
            	
            	
            	
            	}
            	
    
        //    	scene.registerTouchArea(this);
            	
            	return true;
		
	}
	
		};
		 playButton2.setPosition(116, 497 );
		 scene.registerTouchArea(playButton2);
		 scene.attachChild(playButton2);
	
		 
		 Spritebutton playButton3 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0916"+str, 1, 1, 1,1){
	            @Override
	            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	            	if(activity.level>2)
	            		scene.swarchakra(2);
	            	else
	            	scene.on_click(2,pSceneTouchEvent);
	            	
                 	return true;
			
		}
		
			};
			 playButton3.setPosition(230, 497 );
			 scene.registerTouchArea(playButton3);
			 scene.attachChild(playButton3);
		    
			 
			 
			 Spritebutton playButton4 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0917"+str, 1, 1, 1,1){
		            @Override
		            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
		            
		            	if(activity.level>2)
		            		scene.swarchakra(3);
		            	else
		            	scene.on_click(3,pSceneTouchEvent);
		            	

		            	return true;
				
			}
			
				};
				 playButton4.setPosition(344, 497 );
				 scene.registerTouchArea(playButton4);
				 scene.attachChild(playButton4);
		    
		    
				 
			Spritebutton playButton5 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0918"+str, 1, 1, 1,1){
			            @Override
			            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
			            
			            	if(activity.level>2)
			            		scene.swarchakra(4);
			            	else
			            	scene.on_click(4,pSceneTouchEvent);

			            	return true;
					
				}
				
					};
					 playButton5.setPosition(458, 497 );
					 scene.registerTouchArea(playButton5);
					 scene.attachChild(playButton5);
			    
					 
			Spritebutton playButton6 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0919"+str, 1, 1, 1,1){
				            @Override
				            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
				            
				            	if(activity.level>2)
				            		scene.swarchakra(5);
				            	else
				            	scene.on_click(5,pSceneTouchEvent);

				            	return true;
						
					}
					
						};
						 playButton6.setPosition(572, 497 );
						 scene.registerTouchArea(playButton6);
						 scene.attachChild(playButton6);
				    
		    
		 Spritebutton playButton7 = new Spritebutton(activity.mButtonRegion1, activity.hFont, ".", 0.4f, 0.4f, 0.4f,1){
					            @Override
					            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
					            
					            	return true;
							
						}
						
							};  
							playButton7.setPosition(686, 497 );
							scene.registerTouchArea(playButton7);
							scene.attachChild(playButton7);
					    
/*-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
//	Row 2
							
							
	 Spritebutton playButton8 = new Spritebutton(activity.mButtonRegion1, activity.hFont, ",", 0.4f, 0.4f, 0.4f,1){
					            @Override
					            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
					            
					            	return true;
							
						}
						
							};
							 playButton8.setPosition(2, 584 );
							 scene.registerTouchArea(playButton8);
							 scene.attachChild(playButton8);	
	  
		Spritebutton playButton9 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u091A"+str, 1, 1, 1,1){
						            @Override
						            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

						            	if(activity.level>2)
						            		scene.swarchakra(6);
						            	else
						            	scene.on_click(6,pSceneTouchEvent);

						            	return true;
								
							}
							
								};
								 playButton9.setPosition(116, 584 );
								 scene.registerTouchArea(playButton9);
								 scene.attachChild(playButton9);
							
								 
			Spritebutton playButton10 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u091B"+str, 1, 1, 1,1){
							            @Override
							            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
							            
							            	if(activity.level>2)
							            		scene.swarchakra(7);
							            	else
							            	scene.on_click(7,pSceneTouchEvent);
							            	
							            	return true;
									
								}
								
									};
									 playButton10.setPosition(230, 584 );
									 scene.registerTouchArea(playButton10);
									 scene.attachChild(playButton10);
								    
									 
									 
					Spritebutton playButton11 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u091C"+str, 1, 1, 1,1){
								            @Override
								            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
								            
								            	if(activity.level>2)
								            		scene.swarchakra(8);
								            	else
								            	scene.on_click(8,pSceneTouchEvent);

								            	return true;
										
									}
									
										};
										 playButton11.setPosition(344, 584 );
										 scene.registerTouchArea(playButton11);
										 scene.attachChild(playButton11);
								    
								    
										 
			Spritebutton playButton12 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u091D"+str, 1, 1, 1,1){
									            @Override
									            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

									            	if(activity.level>2)
									            		scene.swarchakra(9);
									            	else
									            	scene.on_click(9,pSceneTouchEvent);

									            	return true;
											
										}
										
											};
											 playButton12.setPosition(458, 584 );
											 scene.registerTouchArea(playButton12);
											 scene.attachChild(playButton12);
									    
											 
			Spritebutton playButton13 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u091E"+str, 1, 1, 1,1){
										            @Override
										            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
										            
										            	if(activity.level>2)
										            		scene.swarchakra(10);
										            	else
										            	scene.on_click(10,pSceneTouchEvent);

										            	return true;
												
											}
											
												};
												 playButton13.setPosition(572, 584 );
												 scene.registerTouchArea(playButton13);
												 scene.attachChild(playButton13);
										    
								    
Spritebutton playButton14 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
											            @Override
											            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
											            
											            	return true;
													
												}
												
													};  
													playButton14.setPosition(686, 583 );
													scene.registerTouchArea(playButton14);
													scene.attachChild(playButton14);    
		    
		    
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/			    
		    
													
													
Spritebutton playButton15 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "!", 0.4f, 0.4f, 0.4f,1){
											            @Override
											            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
											            
											            	return true;
													
												}
												
													};
													 playButton15.setPosition(3, 671 );
													 scene.registerTouchArea(playButton15);
													 scene.attachChild(playButton15);	
							  
Spritebutton playButton16 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u091F"+str, 1, 1, 1,1){
                @Override
				  public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
									
                	if(activity.level>2)
                		scene.swarchakra(11);
                	else
               	 scene.on_click(11,pSceneTouchEvent);
               	 
                          
							return true;
														
					}
													
		};
playButton16.setPosition(116, 671 );
scene.registerTouchArea(playButton16);
scene.attachChild(playButton16);





Spritebutton playButton17 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0920"+str, 1, 1, 1,1){
				            @Override
				            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
				            
				            	if(activity.level>2)
				            		scene.swarchakra(12);
				            	else
				            	scene.on_click(12,pSceneTouchEvent);
				            	
				            	return true;
						
					}
					
						};
						 playButton17.setPosition(230, 671 );
						 scene.registerTouchArea(playButton17);
						 scene.attachChild(playButton17);
					    
						 
						 
Spritebutton playButton18 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0921"+str, 1, 1, 1,1){
					            @Override
					            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
					            
					            	if(activity.level>2)
					            		scene.swarchakra(13);
					            	else
					            	scene.on_click(13,pSceneTouchEvent);

					            	return true;
							
						}
						
							};
							 playButton18.setPosition(344, 671 );
							 scene.registerTouchArea(playButton18);
							 scene.attachChild(playButton18);
					    
					    
							 
Spritebutton playButton19 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0922"+str, 1, 1, 1,1){
						            @Override
						            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
						            
						            	if(activity.level>2)
						            		scene.swarchakra(14);
						            	else
						            	scene.on_click(14,pSceneTouchEvent);

						            	return true;
								
							}
							
								};
								 playButton19.setPosition(458, 671 );
								 scene.registerTouchArea(playButton19);
								 scene.attachChild(playButton19);
						    
								 
						Spritebutton playButton20 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0923"+str, 1, 1, 1,1){
							            @Override
							            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
							            
							            	if(activity.level>2)
							            		scene.swarchakra(15);
							            	else
							            	scene.on_click(15,pSceneTouchEvent);
							            	
							            	return true;
									
								}
								
									};
									 playButton20.setPosition(572, 671 );
									 scene.registerTouchArea(playButton20);
									 scene.attachChild(playButton20);
							    
					    
					 Spritebutton playButton21 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "'", 0.4f, 0.4f, 0.4f,1){
								            @Override
								            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
								            
								            	return true;
										
									}
									
										};  
					
playButton21.setPosition(686, 671 );
scene.registerTouchArea(playButton21);
scene.attachChild(playButton21);    

/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/ 
//Row 4
  
Spritebutton playButton22 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "?", 0.4f, 0.4f, 0.4f,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	return true;

}

};
playButton22.setPosition(3, 758 );
scene.registerTouchArea(playButton22);
scene.attachChild(playButton22);	

Spritebutton playButton23 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0924"+str, 1, 1, 1,1){
   @Override
   public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
   
	   if(activity.level>2)
   		scene.swarchakra(16);
   	else
   	scene.on_click(16,pSceneTouchEvent);

   	return true;

}

};
 playButton23.setPosition(116, 758 );
 scene.registerTouchArea(playButton23);
 scene.attachChild(playButton23);

 
Spritebutton playButton24 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0925"+str, 1, 1, 1,1){
       @Override
       public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
       
    	   if(activity.level>2)
       		scene.swarchakra(17);
       	else
       	scene.on_click(17,pSceneTouchEvent);
       	
       	return true;
	
}

	};
	 playButton24.setPosition(230, 758 );
	 scene.registerTouchArea(playButton24);
	 scene.attachChild(playButton24);
    
	 
	 
Spritebutton playButton25 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0926"+str, 1, 1, 1,1){
            @Override
            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
            
            	if(activity.level>2)
            		scene.swarchakra(18);
            	else
            	scene.on_click(18,pSceneTouchEvent);
            	

		        return true;
		
	}
	
		};
		 playButton25.setPosition(344, 758 );
		 scene.registerTouchArea(playButton25);
		 scene.attachChild(playButton25);
    
    
		 
Spritebutton playButton26 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0927"+str, 1, 1, 1,1){
	            @Override
	            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
	            
	            	if(activity.level>2)
	            		scene.swarchakra(19);
	            	else
	            	scene.on_click(19,pSceneTouchEvent);

	            	return true;
			
		}
		
			};
			 playButton26.setPosition(458, 758 );
			 scene.registerTouchArea(playButton26);
			 scene.attachChild(playButton26);
	    
			 
	Spritebutton playButton27 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u0928"+str, 1, 1, 1,1){
		            @Override
		            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
		            
		            	if(activity.level>2)
		            		scene.swarchakra(20);
		            	else
		            	scene.on_click(20,pSceneTouchEvent);

		            	return true;
				
			}
			
				};
				 playButton27.setPosition(572, 758 );
				 scene.registerTouchArea(playButton27);
				 scene.attachChild(playButton27);
		    
    
Spritebutton playButton28 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "\u0901", 0.4f, 0.4f, 0.4f,1){
			            @Override
			            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
			            
			//            	activity.str="\u0901";
			//            	new Keyboard(scene,"\u0901");	
			            	return true;
					
				}
				
					};  
playButton28.setPosition(686, 758 );
scene.registerTouchArea(playButton28);
scene.attachChild(playButton28);    
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
//Row 5


Spritebutton playButton29 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "|", 0.4f, 0.4f, 0.4f,1){
										            @Override
										            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
										            
										            	return true;
												
											}
											
												};
												 playButton29.setPosition(3, 845 );
												 scene.registerTouchArea(playButton29);
												 scene.attachChild(playButton29);	
						  
Spritebutton playButton30 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u092A"+str, 1, 1, 1,1){
            @Override
			  public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
							
            	if(activity.level>2)
            		scene.swarchakra(21);
            	else
           	 scene.on_click(21,pSceneTouchEvent);

						return true;
													
				}
												
	};
playButton30.setPosition(116, 845 );
scene.registerTouchArea(playButton30);
scene.attachChild(playButton30);





Spritebutton playButton31 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u092B"+str, 1, 1, 1,1){
			            @Override
			            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

			            	if(activity.level>2)
			            		scene.swarchakra(22);
			            	else
			            	scene.on_click(22,pSceneTouchEvent);

			            	return true;
					
				}
				
					};
					 playButton31.setPosition(230, 845 );
					 scene.registerTouchArea(playButton31);
					 scene.attachChild(playButton31);
				    
					 
					 
Spritebutton playButton32 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u092C"+str, 1, 1, 1,1){
				            @Override
				            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
				            
				            	if(activity.level>2)
				            		scene.swarchakra(23);
				            	else
				            	scene.on_click(23,pSceneTouchEvent);

				            	return true;
						
					}
					
						};
						 playButton32.setPosition(344, 845 );
						 scene.registerTouchArea(playButton32);
						 scene.attachChild(playButton32);
				    
				    
						 
Spritebutton playButton33 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u092D"+str, 1, 1, 1,1){
					            @Override
					            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
					            
					            	if(activity.level>2)
					            		scene.swarchakra(24);
					            	else
					            	scene.on_click(24,pSceneTouchEvent);

					            	return true;
							
						}
						
							};
							 playButton33.setPosition(458, 845 );
							 scene.registerTouchArea(playButton33);
							 scene.attachChild(playButton33);
					    
							 
					Spritebutton playButton34 = new Spritebutton(activity.mButtonRegion, activity.hFont, "\u092E"+str, 1, 1, 1,1){
						            @Override
						            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
						            
						            	if(activity.level>2)
						            		scene.swarchakra(25);
						            	else
						            	scene.on_click(25,pSceneTouchEvent);

						            	return true;
								
							}
							
								};
								 playButton34.setPosition(572, 845 );
								 scene.registerTouchArea(playButton34);
								 scene.attachChild(playButton34);
						    
				    
				 Spritebutton playButton35 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "\u0903", 0.4f, 0.4f, 0.4f,1){
							            @Override
							            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
							            
							            	return true;
									
								}
								
									};  
				
playButton35.setPosition(686, 845 );
scene.registerTouchArea(playButton35);
scene.attachChild(playButton35);    


					




					


/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/			    
//Row 6
//if(activity.level>1){
Spritebutton playButton36 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "\"", 0.4f, 0.4f, 0.4f,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	return true;

}

};
playButton36.setPosition(3, 932 );
scene.registerTouchArea(playButton36);
scene.attachChild(playButton36);	

Spritebutton playButton37 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u092F"+str, 1, 1, 1,1){
    @Override
    public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

    	if(activity.level>2)
    		scene.swarchakra(26);
    	else
    	scene.on_click(26,pSceneTouchEvent);
    	return true;

}

};
 playButton37.setPosition(116, 932 );
 scene.registerTouchArea(playButton37);
 scene.attachChild(playButton37);

 
Spritebutton playButton38 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0930"+str, 1, 1, 1,1){
        @Override
        public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
       
        	if(activity.level>2)
        		scene.swarchakra(27);
        	else
        	scene.on_click(27,pSceneTouchEvent);
        	return true;
	
}

	};
	 playButton38.setPosition(230, 932 );
	 scene.registerTouchArea(playButton38);
	 scene.attachChild(playButton38);
    
	 
	 
Spritebutton playButton39 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0932"+str, 1, 1, 1,1){
            @Override
            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
            
            	if(activity.level>2)
            		scene.swarchakra(28);
            	else
            	scene.on_click(28,pSceneTouchEvent);
            	return true;
		
	}
	
		};
		 playButton39.setPosition(344, 932 );
		 scene.registerTouchArea(playButton39);
		 scene.attachChild(playButton39);
    
    
		 
Spritebutton playButton40 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0935"+str, 1, 1, 1,1){
	            @Override
	            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
	            
	            	if(activity.level>2)
	            		scene.swarchakra(29);
	            	else
	            	scene.on_click(29,pSceneTouchEvent);
	            	return true;
			
		}
		
			};
			 playButton40.setPosition(458, 932 );
			 scene.registerTouchArea(playButton40);
			 scene.attachChild(playButton40);
	    
			 
	Spritebutton playButton41 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0936"+str, 1, 1, 1,1){
		            @Override
		            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
		            
		            	if(activity.level>2)
		            		scene.swarchakra(30);
		            	else
		            	scene.on_click(30,pSceneTouchEvent);
		            	return true;
				
			}
			
				};
				 playButton41.setPosition(572, 932 );
				 scene.registerTouchArea(playButton41);
				 scene.attachChild(playButton41);
		    
    
Spritebutton playButton42 = new Spritebutton(activity.mButtonRegion1, activity.hFont, ";", 0.4f, 0.4f, 0.4f,1){
			            @Override
			            public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
			            
			            	return true;
					
				}
				
					};  
playButton42.setPosition(686, 932 );
scene.registerTouchArea(playButton42);
scene.attachChild(playButton42);  


/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
//Row 7

Spritebutton playButton43 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "'", 0.4f, 0.4f, 0.4f,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	return true;

}

};
playButton43.setPosition(3, 1019 );
scene.registerTouchArea(playButton43);
scene.attachChild(playButton43);	

Spritebutton playButton44 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0937"+str,1,1,1,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {
    
	if(activity.level>2)
		scene.swarchakra(31);
	else
	scene.on_click(31,pSceneTouchEvent);
return true;

}

};
playButton44.setPosition(116, 1019 );
scene.registerTouchArea(playButton44);
scene.attachChild(playButton44);





Spritebutton playButton45 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0938"+str, 1, 1, 1,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	if(activity.level>2)
		scene.swarchakra(32);
	else
	scene.on_click(32,pSceneTouchEvent);
return true;

}

};
playButton45.setPosition(230, 1019 );
scene.registerTouchArea(playButton45);
scene.attachChild(playButton45);



Spritebutton playButton46 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0939"+str,1, 1, 1,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	if(activity.level>2)
		scene.swarchakra(33);
	else
	scene.on_click(33,pSceneTouchEvent);
return true;

}

};
playButton46.setPosition(344, 1019 );
scene.registerTouchArea(playButton46);
scene.attachChild(playButton46);



Spritebutton playButton47 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0933"+str, 1, 1, 1,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	if(activity.level>2)
		scene.swarchakra(34);
	else
scene.on_click(34,pSceneTouchEvent);
return true;

}

};
playButton47.setPosition(458, 1019 );
scene.registerTouchArea(playButton47);
scene.attachChild(playButton47);


Spritebutton playButton48 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

return true;

}

};

playButton48.setPosition(572, 1019 );
scene.registerTouchArea(playButton48);
scene.attachChild(playButton48);

if(activity.level>1){
Sprite sha = new Sprite(610, 1030, activity.sha, activity.getVertexBufferObjectManager());
scene.attachChild(sha); 
}


Spritebutton playButton49 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

return true;

}

};  

playButton49.setPosition(686, 1019 );
scene.registerTouchArea(playButton49);
scene.attachChild(playButton49);    

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
//Row 8

Spritebutton playButton50 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
@Override
public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

return true;

}

};  

playButton50.setPosition(3, 1106 );
scene.registerTouchArea(playButton50);
scene.attachChild(playButton50);  


Spritebutton playButton51 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
	@Override
	public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

	return true;

	}

	};  

	playButton51.setPosition(116, 1106 );
	scene.registerTouchArea(playButton51);
	scene.attachChild(playButton51); 
	if(activity.level>1){
	Sprite shra = new Sprite(157, 1120, activity.rie, activity.getVertexBufferObjectManager());
	scene.attachChild(shra);
	}


	Spritebutton playButton52 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
		@Override
		public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

		return true;

		}

		};  

		playButton52.setPosition(230, 1106 );
		scene.registerTouchArea(playButton52);
		scene.attachChild(playButton52);  
		if(activity.level>1){
		Sprite gya = new Sprite(270, 1120, activity.gya, activity.getVertexBufferObjectManager());
		scene.attachChild(gya);
		}

		
Spritebutton playButton53 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u093E", 0.4f, 0.4f, 0.4f,1){
  @Override
	    public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

			return true;

			}

			};  

		playButton53.setPosition(344, 1106 );
		scene.registerTouchArea(playButton53);
		scene.attachChild(playButton53);
		
		
Spritebutton playButton54 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u093D", 0.4f, 0.4f, 0.4f,1){
			@Override
			public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

			return true;

			}

			};  

			playButton54.setPosition(458, 1106 );
			scene.registerTouchArea(playButton54);
			scene.attachChild(playButton54);
			
			
Spritebutton playButton55 = new Spritebutton(activity.mButtonRegion2, activity.hFont, "\u0905", 0.4f, 0.4f, 0.4f,1){
				@Override
				public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

				return true;

				}

				};  

				playButton55.setPosition(572, 1106 );
				scene.registerTouchArea(playButton55);
				scene.attachChild(playButton55);
				
Spritebutton playButton56 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
					@Override
					public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

					return true;

					}

					};  

					playButton56.setPosition(686, 1106 );
					scene.registerTouchArea(playButton56);
scene.attachChild(playButton56);
					
/*-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
//Row 9
					Spritebutton playButton57 = new Spritebutton(activity.mButtonRegion1, activity.hFont, "", 0.4f, 0.4f, 0.4f,1){
						@Override
						public boolean onAreaTouched(final TouchEvent pSceneTouchEvent, final float pTouchAreaLocalX, final float pTouchAreaLocalY) {

						return true;

						}

						};  

						playButton57.setPosition(3, 1193 );
						scene.registerTouchArea(playButton57);
						scene.attachChild(playButton57);
						
						
					Sprite sprite1=new Sprite(0,0,451,85, activity.mButtonRegion2,StartActivity.getSharedInstance().getVertexBufferObjectManager());
					sprite1.setPosition(116, 1193);
					scene.attachChild(sprite1);
					
					Sprite space = new Sprite(300, 1193, activity.space, activity.getVertexBufferObjectManager());
				    scene.attachChild(space); 
					
					Sprite sprite2=new Sprite(0,0,225,85, activity.mButtonRegion1,StartActivity.getSharedInstance().getVertexBufferObjectManager());
					sprite2.setPosition(572, 1193);
					scene.attachChild(sprite2);		
									
					Sprite enter = new Sprite(686, 1200, activity.enter, activity.getVertexBufferObjectManager());
					scene.attachChild(enter); 
/*-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/						
	}
	
//	}
	
}
